package dao.pojo;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * OperationLog entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "operation_log", catalog = "fw")
public class OperationLog extends BasePojo implements java.io.Serializable {

	// Fields

	private Long id;
	private String createTime;
	private Integer type;
	private String dsn;
	private String ssn;
	private String newTime;
	private String otherTime;
	private String model;
	private String supplier;

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "createTime", length = 20)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "type")
	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Column(name = "dSn", length = 32)
	public String getDsn() {
		return this.dsn;
	}

	public void setDsn(String dsn) {
		this.dsn = dsn;
	}

	@Column(name = "sSn", length = 32)
	public String getSsn() {
		return this.ssn;
	}

	public void setSsn(String ssn) {
		this.ssn = ssn;
	}

	@Column(name = "newTime", length = 50)
	public String getNewTime() {
		return this.newTime;
	}

	public void setNewTime(String newTime) {
		this.newTime = newTime;
	}

	@Column(name = "otherTime", length = 50)
	public String getOtherTime() {
		return this.otherTime;
	}

	public void setOtherTime(String otherTime) {
		this.otherTime = otherTime;
	}

	@Column(name = "model", length = 16)
	public String getModel() {
		return this.model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	@Column(name = "supplier", length = 50)
	public String getSupplier() {
		return this.supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

}